package com.mmd.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

/**
 * table --> mmd_dict
 * remarks --> 数据字典表
 * columns --> dictId,dictKey,dictDesc,dictType,createTime,updateTime
 */
@ApiModel(value = "mmd_dict",description = "数据字典表")
public class MmdDict implements Serializable {
    /**
     * dictId
     * 
     */
    @ApiModelProperty(value="dictId",name="")
    private Long dictId;

    /**
     * dictKey
     * 字典key
     */
    @ApiModelProperty(value="dictKey",name="字典key")
    private Integer dictKey;

    /**
     * dictDesc
     * 字典内容
     */
    @ApiModelProperty(value="dictDesc",name="字典内容")
    private String dictDesc;

    /**
     * dictType
     * 字典类型 1=提单的自定义轨迹
     */
    @ApiModelProperty(value="dictType",name="字典类型 1=提单的自定义轨迹")
    private Integer dictType;

    /**
     * createTime
     * 创建时间
     */
    @ApiModelProperty(value="createTime",name="创建时间")
    private Date createTime;

    /**
     * updateTime
     * 更新时间
     */
    @ApiModelProperty(value="updateTime",name="更新时间")
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Long getDictId() {
        return dictId;
    }

    public void setDictId(Long dictId) {
        this.dictId = dictId;
    }

    public Integer getDictKey() {
        return dictKey;
    }

    public void setDictKey(Integer dictKey) {
        this.dictKey = dictKey;
    }

    public String getDictDesc() {
        return dictDesc;
    }

    public void setDictDesc(String dictDesc) {
        this.dictDesc = dictDesc == null ? null : dictDesc.trim();
    }

    public Integer getDictType() {
        return dictType;
    }

    public void setDictType(Integer dictType) {
        this.dictType = dictType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append(", dictId=").append(dictId);
        sb.append(", dictKey=").append(dictKey);
        sb.append(", dictDesc=").append(dictDesc);
        sb.append(", dictType=").append(dictType);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}